package com.kotlin.lib

import com.google.gson.Gson

private data class NewUser(var id: Long = -1, var uniqueIdentifier: String = "")

fun main() {
    val jsonString = """{"id":1}"""

    val gson = Gson().fromJson<NewUser>(jsonString, NewUser::class.java)
    println(gson)
}